package com.itheima.d5_block;

import java.util.ArrayList;

public class Student {
    public static  int number;
    public  static String name="还好";
    public static ArrayList<String> list=new ArrayList<>();

    static{
        name="呵呵";
        System.out.println("初始化类");
        list.add("kunkun");
        list.add("fanfan");
        list.add("masike");
        list.add("kunkun");
        list.add("kunkun");
        list.add("kunkun");
    }
    {
     number++;
    }
    public Student(){
        System.out.println("这是"+number+"个构造器");
    }
}
